package com.qianji.petmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianji.common.utils.PageUtils;
import com.qianji.petmall.product.entity.CategoryEntity;
import com.qianji.petmall.product.vo.CateLog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author xiaoxin
 * @email 485350978@qq.com
 * @date 2022-01-07 14:35:43
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMounByIds(List<Long> asList);

    Long[] getAtterPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevelOne();

    Map<String, List<CateLog2Vo>> getCateLogJson();

    Map<String, List<CateLog2Vo>> getCatLogJson();
}

